package com.oceansoft.mobile.econsole.modules.complaint.service;

import com.oceansoft.mobile.econsole.modules.base.entity.ApiPager;
import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.base.entity.Result;
import com.oceansoft.mobile.econsole.modules.complaint.entity.ComplaintReport;
import com.oceansoft.mobile.econsole.modules.complaint.entity.CompltCenter;
import com.oceansoft.mobile.econsole.modules.complaint.entity.CompltProInfo;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import java.io.IOException;

/**
 * Created by Administrator on 2016/2/23.
 */
public interface IComplaintService {

    Result saveComplaintAttach(MultipartHttpServletRequest request) throws IOException;

    Result addComplaintInfo(ComplaintReport complaintReport);

    Result addComplaintCenter(CompltProInfo compltProInfo,CompltCenter compltCenter);

    ApiPager loadComplaintByPage(Query query);

    Result loadComplaintReply(String projectGuid);

    Result loadComplaintDetail(String projectGuid);

    Result loadDealFirstDeptList();

    Result loadDealSecDeptList(String deptId);

    //大庆项目-保存随手拍信息
    Result saveComplain(ComplaintReport complaintReport) throws IOException;
}
